package com.ict.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 绩效对象 yzq_performance
 * 
 * @author ruoyi
 * @date 2022-02-15
 */
@ToString
@Data
@Accessors(chain = true)
@TableName("yzq_performance")
public class Performance implements Serializable
{
    private static final long serialVersionUID = 1L;

    public static final String DELETE_STATUS_NORMAL = "0";
    public static final String DELETE_STATUS_UNNORMAL = "1";

    public static final String PER_STATUS_USING = "0";
    public static final String PER_STATUS_NotENABLE = "1";
    public static final String PER_STATUS_DISCONTINUE = "2";

    @ApiModelProperty(value = "绩效Id")
    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long perId;

    @ApiModelProperty(value = "绩效名称")
    private String perName;

    @ApiModelProperty(value = "适用范围:{0未考评项目1全部项目}")
    private String rangeApplication;

    @ApiModelProperty(value = "绩效状态:{0:使用中，1：未启用，2：停止使用}")
    private String preStatus;

    @ApiModelProperty(value = "逻辑删除：{0:正常;1:删除}")
    private String delFlag;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
